NetworkType enum Null safety
网络类型
Constants
- disconnected → const NetworkType
-
网络连接已断开
const NetworkType(1) - lan → const NetworkType
-
LAN
const NetworkType(2) - mobile2G → const NetworkType
-
2G 移动网络
const NetworkType(4) - mobile3G → const NetworkType
-
3G 移动网络
const NetworkType(5) - mobile4G → const NetworkType
-
4G 移动网络
const NetworkType(6) - mobile5G → const NetworkType
-
5G 移动网络
const NetworkType(7) - unknown → const NetworkType
-
未知网络链接类型
const NetworkType(0) -
values
→ const List<
NetworkType> -
A constant List of the values in this enum, in order of their declaration.
const List<NetworkType> - wifi → const NetworkType
-
Wi-Fi,包含热点连接
const NetworkType(3)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited